package cn.iocoder.yudao.module.member.dal.dataobject.newsStudyInfo;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.util.Date;

/**
 * 新闻信息(成果信息) DO
 *
 * @author 管理员
 */
@TableName("member_news_study_ranking")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class NewsStudyRankingDO extends BaseDO {

    /**
     * id
     */
    @TableId
    private Long id;

    /**
     * 类型:1:周榜2:月榜
     */
    private Integer type;
    /**
     *研究成果ID
     */
    private Long newsId;
    /**
     * 权重
     */
    private Integer weight;

    /**
     * 标题
     */
    @TableField(exist = false)
    private String title;
    /**
     * 标题
     */
    @TableField(exist = false)
    private String newsTypeName;
}
